Method
Namespace: Ignis
Declared in: Ignis.IComponentCollection<T>
Iterates over each 'entity ID'-'component' pair using the supplied callback. The return value will be saved as the new component value. Passes an additional parameter to the callback which can be used to avoid heap allocations by passing the required variables through it.
public void Process<TState>(
Func<int, T, TState, T> action,
TState state
)
action
Callback to be called on each pair